package com.java.example.app

import com.blankj.utilcode.util.PathUtils


/**
 * 常量类，用于保存常量和标识
 */
open class Constant {
    companion object {
        var HOST: String = "http://me-api-dev.thinkerx.com/"
        const val USER_PHONE: String = "user_phone"
        const val USER_PASSWORD: String = "user_password"
        const val USER_NAME: String = "user_name"
        const val USER_CACHE: String = "user_cache"
        const val IS_LOGIN_STATE: String = "isLoginState"

        /**
         * 第一次进入时，显示隐私政策等dialog，其实用处和上面的一样
         */
        const val IS_FIRST_SHOW_AGREE: String = "IS_FIRST_SHOW_AGREE"

        /**
         * 每天第一次进入时
         */
        const val IS_FIRST_SHOW_TODAY: String = "IS_FIRST_SHOW_TODAY"

        /**
         * APK存储路径
         */
        @JvmField
        var APK_PATH: String = PathUtils.getExternalAppFilesPath() + "/measurement.apk"


        /**
         * 正式服地址
         */
        const val OFFICAL_HOST: String = "http://me-api.thinkerx.com/"

        /**
         * 测试服地址
         */
        const val TEST_HOST: String = "http://me-api-dev.thinkerx.com/"

        /**
         * 版本切换
         */
        const val VERSION_SWITCH: String = "VERSION_SWITCH"

        /*微信appid:wxc5baebdbe12d3217*/
        const val APP_ID: String = "wxc5baebdbe12d3217"

        /*微信appsecret*/
        const val APP_SECRET: String = "8fdf9e639cc82a3c6683f80414f60945"

        const val USER_POLICY: String = "http://www.zcjc.vip/#/privacy"

        const val USER_AGREEMENT: String = "http://www.zcjc.vip/#/license"

        //判断是否是好运来
        const val IS_HAOYUNLAI: String = "IS_HAOYUNLAI"

        //是否连接蓝牙
        const val IS_CONNECT_BLUE: String = "IS_CONNECT_BLUE"

        //图片临时保存文件夹
        const val PIC_FILES_DIR_TEMP: String = "PIC_FILES_DIR_TEMP"


    }
}
